home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
- /* TODO: create a buffer as an */
- /* instance variable and remove the */
- /* thisline stuff from readData*/
- #import <appkit/View.h>
- #import <appkit/Bitmap.h>
- #import "AzimuthMat.h"
-
- typedef enum {
- NEITHER = 0,
- LINES,
- POINTS,
- BOTH
- } pts_or_lines;
-
- typedef struct {
- float **all;
- float **displayed;
- int npts;
- pts_or_lines type;
- float radius;
- float shade;
- } datapoints;
-
- @interface CubeView:View
- {
- float cube[3][16], axes[3][54], *path;
- int max_path;
- float boundingBox[4];
- AzimuthMat *vm;
- datapoints **toshow;
- id AngleDisplay;
- id DistanceSlider;
- id PhiSlider;
- id ThetaSlider;
- id openReq;
- BOOL showCube, showAxes, PSonly;
- char ops[3];
- }
- - initFrame:(const NXRect *) frameRect;
- - showError:(char *)errorMessage;
- - initialize;
- - clear:sender;
- - Reset:sender;
- - setCube:(int)intValue;
- - setAxes:(int)intValue;
- - toggleAxes:sender;
- - toggleCube:sender;
- - reScale:sender;
- - setTheta:(float)floatValue;
- - setPhi:(float)floatValue;
- - setdist:(float)floatValue;
- - setlimits:(float *) limits;
- - getStruct:(datapoints ***)dptr:(int) max_p:(float **)p;
- - drawSelf:(NXRect*)r:(int)c;
- - printPSCode:sender;
- @end
-